package com.wyj.email.api;

import com.wyj.email.entity.EmailBO;
import com.wyj.response.ApiResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * TODO: email接口
 *
 * @author wuyijie
 * @date 2022/2/9 23:23
 */
@Api(value = "IEmailApi", tags = "邮箱API")
public interface IEmailApi {

    /**
     * TODO: 发送邮件
     *
     * @author wuyijie
     * @date 2022/2/13 12:49 AM
     * @param emailBO emailBO
     * @return com.wyj.resoponse.ApiResult<Boolean>
     */
    @ApiOperation(value = "send", notes = "发送邮件")
    @RequestMapping(value = "/send",method = RequestMethod.POST)
    ApiResult<Boolean> send(@RequestBody EmailBO emailBO);
}
